from django.urls import path
from .views import (UpdateDeptView, DeptListView, GetDeptFormView, DeptOptionsView, DeleteDeptView)
# , CreateDeptView)

urlpatterns = [
    path('dept/<int:dept_id>', UpdateDeptView.as_view(), name='update_dept'),
    path('dept', DeptListView.as_view(), name='dept_list'),
    # path('dept', CreateDeptView.as_view(), name='create_dept'),
    path('dept/<int:dept_id>/form', GetDeptFormView.as_view(), name='get_dept_form'),
    path('dept/options', DeptOptionsView.as_view(), name='dept_options'),
    path('dept1/<str:ids>', DeleteDeptView.as_view(), name='delete_dept'),

]
